﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp1.Models.ViewModel
{
    public class LayoutViewModel : INotifyPropertyChanged
    {
        private string _windowsIcon;
        public string WindowsIcon
        {
            get => _windowsIcon;
            set
            {
                _windowsIcon = value;
                OnPropertyChanged(nameof(WindowsIcon));
            }
        }

        public event PropertyChangedEventHandler? PropertyChanged;

        protected virtual void OnPropertyChanged(string propertyName)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}
